﻿namespace NanjingbeiRailwayStation.Data.ClickHouse.Models
{
    /// <summary>
    /// 用电量按日统计
    /// </summary>
    public class DailyElectricityConsumptionStatistics
    {
        /// <summary>
        /// 
        /// </summary>
        public string eventTime { get; set; } = string.Empty;

        /// <summary>
        /// 
        /// </summary>
        public string DateString { 
            get
            {
                return eventTime.ToString().Substring(6, 2).TrimStart('0');
            }
        }
        /// <summary>
        /// 当前正向A相累计有功电能 单位:KwH
        /// </summary>
        public Double ActiveEnergyImportInPhaseL1 { get; set; } = 0;

        /// <summary>
        /// 当前正向B相累计有功电能 单位:KwH
        /// </summary>
        public Double ActiveEnergyImportInPhaseL2 { get; set; } = 0;

        /// <summary>
        /// 当前正向C相累计有功电能 单位:KwH
        /// </summary>
        public Double ActiveEnergyImportInPhaseL3 { get; set; } = 0;
    }
}
